/*
@@@*
@@***
@*****
 */
public class Lingxin {
    public static void main(String[] args) {
        for(int a=1;a<=4;a++){
            for(int b=1;b<=4-a;b++){
                System.out.print(" ");
            }
            for(int c=1;c<=2*a-1;c++){
                System.out.print("*");
            }
            System.out.println();
        }
    for (int a=3;a>=1;a--) {
        for (int b=1;b<=4-a;b++){
            System.out.print(" ");
        }
        for (int c=1;c<=2*a-1;c++){
            System.out.print("*");
        }
        System.out.println();
        }
        }
    }

